package com.hlkj.pay.infrastructure.model.pay;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 商户进件请求表
* @TableName t_merchant_access_request
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_pay_channel_request")
public class PayChannelRequestDO extends BaseDO {
    /**
     * 商户商户号
     */
    @Schema(description = "商户商户号")
    private String sn;
    /**
     * 默认服务商
     */
    @Schema(description = "默认服务商")
    private String providerCode;
    /**
    * 进件id
    */
    private String channelCode;
    /**
     * 商户通道id
     */
    @Schema(description = "商户通道code")
    private String mchChannelCode;
    /**
     * 进件id
     */
    private String relationId;
    /**
    * 进件id
     * @see com.hlkj.pay.enums.PayEnums.CHANNEL_REQUEST_TYPE
    */
    private Integer type;
    /**
     * 数据状态
     */
    private Integer status;
    /**
    * 渠道申请单号
    */
    private String applyNo;
    /**
    * 请求url
    */
    private String requestUrl;
    /**
    * 请求时间
    */
    private Long requestTime;
    /**
    * 请求订单号
    */
    private String requestId;
    /**
    * 签约/入驻订单号
    */
    private String ruzhuRequestId;
    /**
    * 返回信息
    */
    private String response;
    /**
    * 请求信息
    */
    private String requestParams;
    /**
    * 汇付adapay商户资料审核单状态，W -> 待补充，I -> 初始，P -> 通过，R -> 拒绝
    */
    private String auditStatus;
    /**
     * url -> fileId
     */
    private String fileParams;
    
}
